* {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}
a {
  text-decoration: none;
  color: black;
}
.top {
  height: 108px;
  // overflow: hidden;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  .top_left {
    width: 143px;
    height: 40px;
    margin-top: 30px;
    position: relative;
    background: url(../images/left.png) no-repeat -10px -12px;

    .right {
      width: 90px;
      height: 34px;
      float: right;
      margin-top: 13px;
      font-size: 13px;
    }
    .right::after {
      content: "";
      display: block;
      float: right;
      margin-top: 5px;
      width: 10px;
      height: 10px;
      background: url(../images/dian.png) no-repeat 0 5px;
    }
    &:hover {
      .right::after {
        background: url(../images/tophover_xian.jpg) no-repeat -58px;
      }
    }
    dl {
      width: 120px;
      font-size: 14px;
      position: absolute;
      z-index: 2;
      left: 40px;
      top: 40px;
      display: none;
      text-align: center;
      // background-color: red;
      border: 1px solid #ccc;
      background-color: #fff;
    }
  }
  .top_center {
    a {
      display: block;
      // float: left;
      width: 182px;
      height: 91px;
      // background-color: red;
      background: url(../images/head_logo.png) no-repeat center center/contain;
    }
  }

  .top_right {
    width: 400px;
    height: 108px;
    // background-color: blue;
    display: flex;
    font-size: 13px;
    justify-content: space-between;
    align-items: center;
    li {
      width: 75px;
      height: 34px;
      font-size: 14px;
      line-height: 34px;
      // background-color: red;
    }
    li:nth-child(1) {
      text-align: right;
      background: url(../images/right.png) no-repeat -10px -30px;
    }

    @for $i from 2 through 4 {
      li:nth-child(#{$i}) > a::after {
        content: "";
        display: block;
        float: right;
        width: 10px;
        height: 10px;
        margin-top: 10px;
        background: url(../images/dian.png) no-repeat 0 5px;
      }
      li:nth-child(#{$i}):hover > a::after {
        background: url(../images/tophover_xian.jpg) no-repeat -58px;
      }
      li:nth-child(#{$i}) {
        dl {
          position: absolute;
          z-index: 2;
          display: none;
          border: 1px solid #ccc;
          padding: 5px;
          background-color: #fff;
        }
      }
    }
    li:nth-child(3) {
      position: relative;
      dl {
        left: -40px;
        width: 170px;
      }
    }
  }
}
